package com.regiee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.regiee.dto.DishDto;
import com.regiee.entity.Dish;

public interface DishService extends IService<Dish> {
    //新增菜品，同时插入菜品对应的口味数据，需要操作两张表：dish，dish_flavor
    public void saveFlavor(DishDto dishDto);
    //根据菜品Id来查询菜品信息和口味信息
    public DishDto getByFlavor(Long id);
    public void uodateFlavor(DishDto dishDto);
}
